package KK.Kernal
{
	import flash.utils.Dictionary;

	public class KeyValue
	{
		private const table:Dictionary=new Dictionary();
		public function KeyValue()
		{
			init();
		}
		private function init():void{
			
		}
		/**
		 * 设置int 
		 * @param key
		 * @param value
		 * 
		 */
		public function SetInt(key:String,value:int):void{
			table[key]=value;
		}
		/**
		 * 获取int 
		 * @param key
		 * @return 
		 * 
		 */
		public function GetInt(key:String):int{
			return table[key];
		}
		/**
		 * 设置数据 
		 * @param key
		 * @param value
		 * 
		 */
		public function Set(key:String,value:String):void{
			table[key]=value;
		}
		/**
		 * 获取数据 
		 * @param key
		 * @return 
		 * 
		 */
		public function Get(key:String):String{
			return table[key];
		}
	}
}